package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class Spinfo extends AppItem implements Serializable {
	String id;
	String title;
	String imgurl;
	int status;
	String start_time;
	String end_time;
	String lotrecord_num;
	String lot_num;
	String is_remind;
	String preview_address;
	String seller_name;
	String address;

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getStart_time() {
		return start_time;
	}
	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}
	public String getEnd_time() {
		return end_time;
	}
	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}
	public String getLotrecord_num() {
		return lotrecord_num;
	}
	public void setLotrecord_num(String lotrecord_num) {
		this.lotrecord_num = lotrecord_num;
	}
	public String getLot_num() {
		return lot_num;
	}
	public void setLot_num(String lot_num) {
		this.lot_num = lot_num;
	}
	public String getIs_remind() {
		return is_remind;
	}
	public void setIs_remind(String is_remind) {
		this.is_remind = is_remind;
	}
	public String getPreview_address() {
		return preview_address;
	}
	public void setPreview_address(String preview_address) {
		this.preview_address = preview_address;
	}
	public String getSeller_name() {
		return seller_name;
	}
	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		address = obj.optString("address");
		id = (obj.optString("id"));
		seller_name = (obj.optString("seller_name"));
		end_time=(obj.optString("end_time"));
		imgurl=(obj.optString("imgurl"));
		is_remind=(obj.optString("is_remind"));
		lot_num=(obj.optString("lot_num"));
		lotrecord_num=(obj.optString("lotrecord_num"));
		preview_address=(obj.optString("preview_address"));
		seller_name=(obj.optString("seller_name"));
		start_time=(obj.optString("start_time"));
		status=(obj.optInt("status"));
		title=(obj.optString("title"));
	}

	
	

}
